package com.edu.exam.enums.quality.monitoring;

import com.edu.exam.enums.core.BaseEnum;

/**
 * 作用域类型枚举
 */
public enum ScopeType implements BaseEnum {
    ALL("ALL", "全部"),
    NONE("NONE", "无"),
    SINGLE("SINGLE", "单个"),
    MULTIPLE("MULTIPLE", "多个"),
    RANGE("RANGE", "范围"),
    CUSTOM("CUSTOM", "自定义"),
    SELECTED("SELECTED", "已选择"),
    FILTERED("FILTERED", "已筛选"),
    CONDITIONAL("CONDITIONAL", "条件性"),
    TEMPORARY("TEMPORARY", "临时"),
    PERMANENT("PERMANENT", "永久"),
    GLOBAL("GLOBAL", "全局"),
    LOCAL("LOCAL", "本地"),
    SHARED("SHARED", "共享"),
    EXCLUSIVE("EXCLUSIVE", "独占");

    private final String code;
    private final String description;

    ScopeType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
